package spring.aopTest;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import spring.aopTest.service.IHelloWorld;

public class SpringApplication {
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"applicationContext-aop.xml");
		IHelloWorld helloworldService = context.getBean("helloWorldService",
				IHelloWorld.class);
		helloworldService.sayHello();
	}
}
